/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao;

import java.sql.Connection;
import java.sql.SQLException;
import util.jdbc.ConexionSQLite;

/**
 *
 * @author Rdelacruz
 */
public class PDAConexion {
    
    public static final String BD = "pda.db";
            
    public static Connection getConexion() throws ClassNotFoundException, SQLException {
        return ConexionSQLite.getConexion(BD);
    }
    
    public static Connection getConexion(boolean autocommit) throws ClassNotFoundException, SQLException {
        return ConexionSQLite.getConexion(BD,autocommit);
    }
}
